package com.lcf.system.vo.dict;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 字典类型(SysDictType)表实体类
 *
 * @author lcf
 * @since 2025-03-16 22:04:24
 */
@Data
@NoArgsConstructor
public class SysDictTypeDetailVO {
    @Schema(description = "主键id")
    private Long id;
    //类型编码
    @Schema(description = "类型编码")
    private String typeCode;
    //类型名称
    @Schema(description = "类型名称")
    private String typeName;
    //备注
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonIgnore
    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建人姓名")
    private String createUser;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @JsonIgnore
    @Schema(description = "更新人id")
    private Long updateBy;

    @Schema(description = "更新人姓名")
    private String updateUser;
}

